package com.zoe.study.config;

import com.zoe.study.entity.Apple;
import com.zoe.study.entity.Banana;
import org.springframework.context.annotation.Bean;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/09/12
 * @Description
 */
public class BeanConfig {
    @Bean
    Banana banana() {
        return new Banana();
    }

    @Bean
    Apple apple() {
        return new Apple();
    }
}
